﻿<%@ Page Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" CodeBehind="B_HistoryClient.aspx.cs" Inherits="ScottCateAjax2008.Lesson09.B_HistoryClient" Title="Client History Back Button Support" %>
<%@ Register src="../UserControls/BasicGridView.ascx" tagname="BasicGridView" tagprefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <h3>Sample migrated from David Barkol's Blog</h3>

    <asp:ScriptManager ID="TheScriptManager" runat="server"
                       EnableHistory="true" 
                       EnableSecureHistoryState="false">
        <Scripts>
            <asp:ScriptReference Path="~/Lesson09/B_HistoryClient.aspx.js" />
        </Scripts>
    </asp:ScriptManager>

    <input type="button" value="button1" onclick="button_click(1);" />&nbsp;
    <input type="button" value="button2" onclick="button_click(2);" />&nbsp;
    <input type="button" value="button3" onclick="button_click(3);" />
    <hr />
    <span id="results"></span>
    
</asp:Content>